<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html"%>
    <script type="text/javascript" src="${ctx}/appjs/car/tenantCarNumber.js"></script>
    <link rel="stylesheet" href="${ctx}/statics/css/common.css?v=20200825">
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function(i,origText){
        return'<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>车辆管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>车辆列表</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

    var has_add = '';
    var has_edit = '';
    var has_delete = '';

    // var TenantSetting_user_update = false;
    // var TenantSetting_user_delete = false;
</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
<%--                   <shiro:hasPermission name="TenantSetting_user_reLoad">--%>
                    <input id="carNo" name="carNo" type="text" class="form-control longInput"
                           placeholder="请输入车牌号码">
                    <select type="text" class="form-control" name="carNumberType" id="carNumberType">
                        <option value="">请选择车辆类型</option>
                        <option value="0">小车</option>
                        <option value="1">中巴</option>
                        <option value="2">货车</option>
                    </select>
                    <div class="pull-left search " style="margin-left: 4px">
                        <button class="btn btn-success" onclick="tenantCarNumber.reLoad()">查询</button>
                    </div>
<%--                    </shiro:hasPermission>--%>
<%--                    <shiro:hasPermission name="TenantSetting_user_add">--%>
                    <div class="pull-left search " style="margin-left: 4px">
                        <button type="button" class="btn btn-primary"  onclick="tenantCarNumber.addTenantCarNumber()">
                            新增
                        </button>
                    </div>
                    <div class="pull-left search fr" style="margin-left: 4px">
                        <button class="btn btn-success exportBtn" onclick="tenantCarNumber.exportCarNumber()">导出</button>
                    </div>
<%--                    </shiro:hasPermission>--%>
                </div>

                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>

<%--<shiro:hasPermission name="TenantSetting_user_update">--%>
<%--    <script>--%>
<%--        TenantSetting_user_update = true;--%>
<%--    </script>--%>
<%--</shiro:hasPermission>--%>
<%--<shiro:hasPermission name="TenantSetting_user_delete">--%>
<%--    <script>--%>
<%--        TenantSetting_user_delete = true;--%>
<%--    </script>--%>
<%--</shiro:hasPermission>--%>
<script type="text/javascript">
    tenantCarNumber.init();
</script>
</body>
</html>
